package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.Dict;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/9/17 9:43
 * @Version 1.0
 */
@Repository
public interface DictDao extends BaseDao<Dict> {

    List<Dict> findZnodes(Long parentId);

    Integer countIsParent(Long id);

    Dict getByDictCode(String dictCode);

    String getNameById(Long houseTypeId);
}
